create_empty_msr_matrix Function

public pure function create_empty_msr_matrix(m, n, nnz) result(rst)

Creates an empty MSR matrix.

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(in) :: m

The number of rows in the matrix.

integer(kind=int32), intent(in) :: n

The number of columns in the matrix.

integer(kind=int32), intent(in) :: nnz

The number of non-zero elements in the matrix.

Return Value type(msr_matrix)

The MSR matrix.